package com.dragon.modules.yuegou.entity.product;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.product.HelpMemberRefStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员参加助力活动表实体类<br>
 * 对应的表为：pro_help_member_ref<br>
 * 
 * @author px
 * @date 2019-04-12 09:24:07
 * @company sgy
 * @version 2.0
 */
@TableName("pro_help_member_ref")
@ApiModel(description = "会员参加助力活动表")
public class HelpMemberRefEntity {

    /**  */
	protected String id;

    /** 商圈ID */
	@ApiModelProperty("商圈ID")
	protected String busdId;

    /** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

    /** 助力活动ID */
	@ApiModelProperty("助力活动ID")
	protected String helpId;

    /** SKUID */
	@ApiModelProperty("SKUID")
	protected String skuId;

    /** 购买时间 */
	@ApiModelProperty("购买时间")
	protected LocalDateTime buyTime;

    /** 结束时间 */
	@ApiModelProperty("结束时间")
	protected LocalDateTime endTime;

    /** 助力成功时间 */
	@ApiModelProperty("助力成功时间")
	protected LocalDateTime successTime;

    /** 助力最小人数 */
	@ApiModelProperty("助力最小人数")
	protected Integer minPeopleQey;

    /** 助力最大人数 */
	@ApiModelProperty("助力最大人数")
	protected Integer maxPeopleQey;

    /** 当前助力人数 */
	@ApiModelProperty("当前助力人数")
	protected Integer nowPeopleQey;

    /** 助力最大值 */
	@ApiModelProperty("助力最大值")
	protected BigDecimal helpMaxValue;

    /** 助力当前值 */
	@ApiModelProperty("助力当前值")
	protected BigDecimal helpNowValue;

    /** 助力百分比 */
	@ApiModelProperty("助力百分比")
	protected BigDecimal helpPercent;

    /** [枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY */
	@ApiModelProperty("[枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY")
	protected HelpMemberRefStatus status;

    /** 海报图片 */
	@ApiModelProperty("海报图片")
	protected String posterImg;

    /** 发起活动时间 */
	@ApiModelProperty("发起活动时间")
	protected LocalDateTime createdTime;

    /** 订单号 */
	@ApiModelProperty("订单号")
	protected String orderNo;

	/**
	 * 构造一个空会员参加助力活动表实体对象
	 */
	public HelpMemberRefEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员参加助力活动表实体对象
	 * 
	 * @param other 其它对象
	 */
	public HelpMemberRefEntity(HelpMemberRefEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.memberId = other.memberId;
     	this.helpId = other.helpId;
     	this.skuId = other.skuId;
     	this.buyTime = other.buyTime;
     	this.endTime = other.endTime;
     	this.successTime = other.successTime;
     	this.minPeopleQey = other.minPeopleQey;
     	this.maxPeopleQey = other.maxPeopleQey;
     	this.nowPeopleQey = other.nowPeopleQey;
     	this.helpMaxValue = other.helpMaxValue;
     	this.helpNowValue = other.helpNowValue;
     	this.helpPercent = other.helpPercent;
     	this.status = other.status;
     	this.posterImg = other.posterImg;
     	this.createdTime = other.createdTime;
     	this.orderNo = other.orderNo;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈ID
	 * 
	 * @return busdId 商圈ID
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈ID
	 * 
	 * @param busdId 商圈ID
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取会员ID
	 * 
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取助力活动ID
	 * 
	 * @return helpId 助力活动ID
	 */
	public String getHelpId() {
		return helpId;
	}
  	
	/**
	 * 设置助力活动ID
	 * 
	 * @param helpId 助力活动ID
	 */
	public void setHelpId(String helpId) {
		this.helpId = helpId;
	}

	/**
	 * 获取SKUID
	 * 
	 * @return skuId SKUID
	 */
	public String getSkuId() {
		return skuId;
	}
  	
	/**
	 * 设置SKUID
	 * 
	 * @param skuId SKUID
	 */
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取购买时间
	 * 
	 * @return buyTime 购买时间
	 */
	public LocalDateTime getBuyTime() {
		return buyTime;
	}
  	
	/**
	 * 设置购买时间
	 * 
	 * @param buyTime 购买时间
	 */
	public void setBuyTime(LocalDateTime buyTime) {
		this.buyTime = buyTime;
	}

	/**
	 * 获取结束时间
	 * 
	 * @return endTime 结束时间
	 */
	public LocalDateTime getEndTime() {
		return endTime;
	}
  	
	/**
	 * 设置结束时间
	 * 
	 * @param endTime 结束时间
	 */
	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}

	/**
	 * 获取助力成功时间
	 * 
	 * @return successTime 助力成功时间
	 */
	public LocalDateTime getSuccessTime() {
		return successTime;
	}
  	
	/**
	 * 设置助力成功时间
	 * 
	 * @param successTime 助力成功时间
	 */
	public void setSuccessTime(LocalDateTime successTime) {
		this.successTime = successTime;
	}

	/**
	 * 获取助力最小人数
	 * 
	 * @return minPeopleQey 助力最小人数
	 */
	public Integer getMinPeopleQey() {
		return minPeopleQey;
	}
  	
	/**
	 * 设置助力最小人数
	 * 
	 * @param minPeopleQey 助力最小人数
	 */
	public void setMinPeopleQey(Integer minPeopleQey) {
		this.minPeopleQey = minPeopleQey;
	}

	/**
	 * 获取助力最大人数
	 * 
	 * @return maxPeopleQey 助力最大人数
	 */
	public Integer getMaxPeopleQey() {
		return maxPeopleQey;
	}
  	
	/**
	 * 设置助力最大人数
	 * 
	 * @param maxPeopleQey 助力最大人数
	 */
	public void setMaxPeopleQey(Integer maxPeopleQey) {
		this.maxPeopleQey = maxPeopleQey;
	}

	/**
	 * 获取当前助力人数
	 * 
	 * @return nowPeopleQey 当前助力人数
	 */
	public Integer getNowPeopleQey() {
		return nowPeopleQey;
	}
  	
	/**
	 * 设置当前助力人数
	 * 
	 * @param nowPeopleQey 当前助力人数
	 */
	public void setNowPeopleQey(Integer nowPeopleQey) {
		this.nowPeopleQey = nowPeopleQey;
	}

	/**
	 * 获取助力最大值
	 * 
	 * @return helpMaxValue 助力最大值
	 */
	public BigDecimal getHelpMaxValue() {
		return helpMaxValue;
	}
  	
	/**
	 * 设置助力最大值
	 * 
	 * @param helpMaxValue 助力最大值
	 */
	public void setHelpMaxValue(BigDecimal helpMaxValue) {
		this.helpMaxValue = helpMaxValue;
	}

	/**
	 * 获取助力当前值
	 * 
	 * @return helpNowValue 助力当前值
	 */
	public BigDecimal getHelpNowValue() {
		return helpNowValue;
	}
  	
	/**
	 * 设置助力当前值
	 * 
	 * @param helpNowValue 助力当前值
	 */
	public void setHelpNowValue(BigDecimal helpNowValue) {
		this.helpNowValue = helpNowValue;
	}

	/**
	 * 获取助力百分比
	 * 
	 * @return helpPercent 助力百分比
	 */
	public BigDecimal getHelpPercent() {
		return helpPercent;
	}
  	
	/**
	 * 设置助力百分比
	 * 
	 * @param helpPercent 助力百分比
	 */
	public void setHelpPercent(BigDecimal helpPercent) {
		this.helpPercent = helpPercent;
	}

	/**
	 * 获取[枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY
	 * 
	 * @return status [枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY
	 */
	public HelpMemberRefStatus getStatus() {
		return status;
	}
  	
	/**
	 * 设置[枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY
	 * 
	 * @param status [枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY
	 */
	public void setStatus(HelpMemberRefStatus status) {
		this.status = status;
	}

	/**
	 * 获取海报图片
	 * 
	 * @return posterImg 海报图片
	 */
	public String getPosterImg() {
		return posterImg;
	}
  	
	/**
	 * 设置海报图片
	 * 
	 * @param posterImg 海报图片
	 */
	public void setPosterImg(String posterImg) {
		this.posterImg = posterImg;
	}

	/**
	 * 获取发起活动时间
	 * 
	 * @return createdTime 发起活动时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置发起活动时间
	 * 
	 * @param createdTime 发起活动时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取订单号
	 * 
	 * @return orderNo 订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}
  	
	/**
	 * 设置订单号
	 * 
	 * @param orderNo 订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

    public String toString() {
		return new StringBuilder().append("HelpMemberRefEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",memberId=").append(memberId).
			append(",helpId=").append(helpId).
			append(",skuId=").append(skuId).
			append(",buyTime=").append(buyTime).
			append(",endTime=").append(endTime).
			append(",successTime=").append(successTime).
			append(",minPeopleQey=").append(minPeopleQey).
			append(",maxPeopleQey=").append(maxPeopleQey).
			append(",nowPeopleQey=").append(nowPeopleQey).
			append(",helpMaxValue=").append(helpMaxValue).
			append(",helpNowValue=").append(helpNowValue).
			append(",helpPercent=").append(helpPercent).
			append(",status=").append(status).
			append(",posterImg=").append(posterImg).
			append(",createdTime=").append(createdTime).
			append(",orderNo=").append(orderNo).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public HelpMemberRefEntity copy() {
		return new HelpMemberRefEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈ID */
	public static final String COL_BUSD_ID = "busd_id";

    /** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 助力活动ID */
	public static final String COL_HELP_ID = "help_id";

    /** SKUID */
	public static final String COL_SKU_ID = "sku_id";

    /** 购买时间 */
	public static final String COL_BUY_TIME = "buy_time";

    /** 结束时间 */
	public static final String COL_END_TIME = "end_time";

    /** 助力成功时间 */
	public static final String COL_SUCCESS_TIME = "success_time";

    /** 助力最小人数 */
	public static final String COL_MIN_PEOPLE_QEY = "min_people_qey";

    /** 助力最大人数 */
	public static final String COL_MAX_PEOPLE_QEY = "max_people_qey";

    /** 当前助力人数 */
	public static final String COL_NOW_PEOPLE_QEY = "now_people_qey";

    /** 助力最大值 */
	public static final String COL_HELP_MAX_VALUE = "help_max_value";

    /** 助力当前值 */
	public static final String COL_HELP_NOW_VALUE = "help_now_value";

    /** 助力百分比 */
	public static final String COL_HELP_PERCENT = "help_percent";

    /** [枚举]助力状态：0-进行中-PROCESS、1-待支付-UNPAID、2-未支付-NONPAY、3-已支付-PAID、4-已结束-OVER、5-已下单未支付-TOPAY */
	public static final String COL_STATUS = "status";

    /** 海报图片 */
	public static final String COL_POSTER_IMG = "poster_img";

    /** 发起活动时间 */
	public static final String COL_CREATED_TIME = "created_time";

    /** 订单号 */
	public static final String COL_ORDER_NO = "order_no";
}
